const express = require("express");
const app = express();

app.get("/jsonp", (req, res) => {
  const { callback } = req.query;
  res.send(`${callback}("这是后台响好数据")`);
});

app.listen(8001, () => {
  console.log("欢迎访问http://localhost:8001");
});
